package cn.java76.springboot.demo1.entity;


import java.util.Date;

public class OComment {

  private long id;
  private String openid;
  private long videoid;
  private String content;
  private Date createtime;
  private Date modifytime;
  private int inuse;
  private  String videoname;

  public OComment() {
  }

  public OComment(String openid, long videoid, String content, Date createtime, Date modifytime, int inuse) {
    this.openid = openid;
    this.videoid = videoid;
    this.content = content;
    this.createtime = createtime;
    this.modifytime = modifytime;
    this.inuse = inuse;
  }

  public OComment(long id, String openid, long videoid, String content, Date createtime, Date modifytime) {
    this.id = id;
    this.openid = openid;
    this.videoid = videoid;
    this.content = content;
    this.createtime = createtime;
    this.modifytime = modifytime;
  }

  public OComment(String openid, long videoid, String content, int inuse) {
    this.openid = openid;
    this.videoid = videoid;
    this.content = content;
    this.inuse = inuse;
  }

  public OComment(long id, String openid, long videoid, String content, Date modifytime) {
    this.id = id;
    this.openid = openid;
    this.videoid = videoid;
    this.content = content;
    this.modifytime = modifytime;
  }

  public String getVideoname() {
    return videoname;
  }

  public void setVideoname(String videoname) {
    this.videoname = videoname;
  }

  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }

  public String getOpenid() {
    return openid;
  }

  public void setOpenid(String openid) {
    this.openid = openid;
  }

  public long getVideoid() {
    return videoid;
  }

  public void setVideoid(long videoid) {
    this.videoid = videoid;
  }

  public String getContent() {
    return content;
  }

  public void setContent(String content) {
    this.content = content;
  }

  public Date getCreatetime() {
    return createtime;
  }

  public void setCreatetime(Date createtime) {
    this.createtime = createtime;
  }

  public Date getModifytime() {
    return modifytime;
  }

  public void setModifytime(Date modifytime) {
    this.modifytime = modifytime;
  }

  public int getInuse() {
    return inuse;
  }

  public void setInuse(int inuse) {
    this.inuse = inuse;
  }

  @Override
  public String toString() {
    return "OComment{" +
            "id=" + id +
            ", openid='" + openid + '\'' +
            ", videoid=" + videoid +
            ", content='" + content + '\'' +
            ", createtime=" + createtime +
            ", modifytime=" + modifytime +
            ", inuse=" + inuse +
            ", videoname='" + videoname + '\'' +
            '}';
  }
}
